package com.mxj.indexer;

import com.mxj.indexer.core.DocWeight;
import lombok.Data;

/**
 * @author yuisama
 * @date 2023/04/17 19:58
 **/
@Data
public class WeightDO {
    public Integer wid;
    public Integer docId;
    public int weight;

    public WeightDO(DocWeight docWeight) {
        this.docId = docWeight.getDocId();
        this.weight = docWeight.getWeight();
    }
}

